<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>用户详情</title>
  <link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="../themes/icon.css">
  <script type="text/javascript" src="../easyui/js/jquery.min.js"></script>
  <script type="text/javascript" src="../easyui/js/jquery.easyui.min.js"></script>
  <style>
    * {
      padding: 0;
      margin: 0;
    }
    body {
      font-size: 14px;
      background-color: #eee;
    }
    a {
      display: inline-block;
      text-decoration: none;
      color: #000;
      padding: 0;
      margin: 0;
    }
    .content{
      height: 100%;
      padding: 30px;

    }
    .content_title {
      height: 50px;
      line-height: 50px;
      border-bottom: 1px solid #000;
    }
    .content-left-right{
      display: flex;
      width: 100%;
      height: 100%;
      margin-top: 20px;
    }

    .content_left {
      width: 30%;
      margin-right: 20px;
    }
    .content_left .left_item {
      background: #fff;
      border-radius: 10px;
      padding: 10px 0;
      margin-bottom: 20px;
    }
    .left_item h3 {
      padding-left: 10px;
      font-size: 16px;
    }
    .left_item ul {
      list-style: none;
      margin-top: 20px;
      padding-left: 50px;
    }
    .left_item ul li {
      margin-bottom: 10px;
    }


    .content_right{
      width: 70%;
      height: 100vh;
      background: #fff;
      border-radius: 10px;
      padding: 30px;
    }
    .content_top {
        overflow: hidden;
        margin-top: 20px;
    }
    .form-item{
      float: left;
      margin-right: 20px;
      width: 350px;
      margin-bottom: 20px;
    }
    .form-item .btn {
        width: 80px;
        height: 35px;
        line-height: 35px;
        text-align: center;
        color: #fff;
        font-size: 16px;
        background: rgba(64, 158, 255, 1);
        border-radius: 10px;
    }
  </style>
</head>
<body>
  <div class="content">
    <h3 class="content_title">用户详情</h3>
    <div class="content-left-right">
      <div class="content_left">
        <div class="left_item">
          <h3>账号&实名信息</h3>
          <ul>
            <li>用户名: 哈哈哈哈</li>
            <li>用户ID: 13566665555</li>
            <li>姓名: 张华</li>
            <li>性别: 女</li>
            <li>身份证号:140101199505050065</li>
            <li>联系电话:13566665555</li>
            <li>婚姻: 已婚</li>
            <li>身份证照片: <img src="./images/image.png" alt="" style="width: 100px; height: 50px; vertical-align: middle;">
              <img src="./images/image.png" alt="" style="width: 100px; height: 50px; vertical-align: middle;">
            </li>
            <li>注册时间: 2022-05-05 13:25:26</li>
          </ul>
        </div>
        <div class="left_item">
          <h3>体检人信息</h3>
          <ul>
            <li>关系: 本人</li>
            <li>姓名: 张龙龙</li>
            <li>性别: 男</li>
            <li>年龄: 15岁</li>
            <li>联系电话:  13555559999</li>
            <li>证件类型: 居民身份证（户口簿）</li>
            <li>证件号码: 110101200505040013</li>
            <li>婚姻状况: 已婚</li>
          </ul>
        </div>
        <div class="left_item">
          <h3>会员信息</h3>
          <ul>
            <li>姓名: 张龙龙</li>
            <li>证件号码: 110101200505040013</li>
            <li>会员卡号: 15615612562</li>
            <li>企业名称:  山西欣欣信息科技有限公司</li>
            <li style="display: flex;"> 
                <span style="margin-right: 10px;">会员卡&余额:</span>
                <span>
                  <p>企业卡  400.00元</p>
                  <p>九折卡  100.00元</p>
                </span>
            </li>
          </ul>
        </div>
      </div>
      <div class="content_right">
        <div class="content_top">
          <h3 class="title">订单信息</h3>
          <form id="ff" method="post">
            <div class="form-item">
              <label for="email">订单类型:</label>
              <select id="cc" class="easyui-combobox" placeholder="选择选项" name="dept" style="width:270px;height: 30px;">
                  <option value="a">选择选项</option>
                  <option>个人体检</option>
                  <option>团检</option>
                  <option>团检预约</option>
              </select>
            </div>
            <div class="form-item">
              <label for="name">预约单号:</label>
              <input class=" easyui-validatebox" placeholder="输入内容" type="text" name="name" data-options="required:false" style="width: 270px;height: 30px;padding-left: 5px;"/>
            </div>
            <div class="form-item">
              <label for="name">下单时间:</label>
              <input class=" easyui-datebox" placeholder="输入内容" type="text" name="name" data-options="required:false" style="width: 270px;height: 30px;padding-left: 5px;"/>
            </div>
            <div class="form-item">
              <a href="#" class="btn">搜索</a>
              <a href="#" class="btn">重置</a>
            </div>
          </form>
          
      </div>
      <div class="content_buttom">
        <table class="easyui-datagrid" data-options="ctrlSelect:true,pagination:true" style="width: 970px;">
            <thead>
                <tr>
                    <th data-options="field:'a1',width:100,align:'center'">序号</th>
                    <th data-options="field:'a2',width:200,align:'center'">订单类型</th>
                    <th data-options="field:'a3',width:100,align:'center'">预约单号</th>
                    <th data-options="field:'a4',width:150,align:'center'">名称</th>
                    <th data-options="field:'a5',width:200,align:'center'">下单时间</th>
                    <th data-options="field:'a6',width:100,align:'center'">来源</th>
                    <th data-options="field:'a7',width:100,align:'center'">订单状态</th>
                    <th data-options="field:'a8',width:100,align:'center'">操作</th>
                </tr>
            </thead>
            <tbody>
              <tr>
                  <td>1</td>
                  <td>个人体检</td>
                  <td>232533333</td>
                  <td>体检套餐2</td>
                  <td>2023.08.05-2023.08.09</td>
                  <td>微信公众号</td> 
                  <td>待体检</td>
                  <td>
                      <a href="#">查看</a>
                  </td>
              </tr>
              <tr>
                <td>2</td>
                <td>团检</td>
                <td>232562</td>
                <td>体检套餐2</td>
                <td>2023.08.05-2023.08.09</td>
                <td>微信公众号</td> 
                <td>待体检</td>
                <td>
                    <a href="#">查看</a>
                </td>
            </tr>
            <tr>
              <td>3</td>
              <td>团检预约</td>
              <td>23256265</td>
              <td>体检套餐2</td>
              <td>2023.08.05-2023.08.09</td>
              <td>微信公众号</td> 
              <td>待体检</td>
              <td>
                  <a href="#">查看</a>
              </td>
          </tr>
        
          <tr>
            <td>4</td>
            <td>个人体检</td>
            <td>2325626556</td>
            <td>体检套餐2</td>
            <td>2023.08.05-2023.08.09</td>
            <td>微信公众号</td> 
            <td>待体检</td>
            <td>
                <a href="#">查看</a>
            </td>
        `</tr>
      
            
               
          </tbody>
        </table>
      </div>
      </div>
    </div>
  </div>
  <script>
    $(function () {
      const data = [
        {
          ordinal: 1,
          ifPackage: '套餐',
          name: '2024在职体检',
          price: '800',
          operate: '退款',
          children: [
            {
              name: '血生化检验',
              physicalProgress: '未检'
            },
            {
              name: '血生化检验',
              physicalProgress: '未检'
            }
          ]
        },
        {
          ordinal: 2,
          ifPackage: '套餐',
          name: '2024在职体检',
          price: '800',
          operate: '退款'
        }
      ]
      // 给table动态赋值
      $("#orderTable").treegrid('loadData', data)
    })
  </script>
</body>
</html>
